package tool
{
	import away3d.core.base.SubMesh;
	import away3d.materials.MaterialBase;
	
	/**
	 * 平时给物体材质时懒得实例化MaterialGetter，所以写了个这个
	 */
	public class MatTool
	{
		public static function setMaterial(subMesh:SubMesh,xml:XML,onCompleted:Function=null):void
		{
			new MaterialGetter(subMesh,xml,onCompleted);
		}
	}
}